package com.bank.payment.dao;

import com.bank.payment.entity.User;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;


@Repository
public interface UserDao extends BaseMapper<User> {
    @Select(value = "SELECT * FROM user where id = #{id}")
    public User getUserById(String id);
}